import React from 'react'
import { history, Link } from 'umi'

export default function Users(props) {
  const handleClick = () => {
    // history.push('/index2')
    console.log(props.foo)
  }
  return (
    <div>
      <button onClick={handleClick}>click</button>
      {/* <Link to="/index2">Users Page</Link> */}
    </div>
  )
}
